What is the primary function of O-ring? The primary function of the O-ring is to provide a seal between two closely fitting parts to prevent the leakage of gas or liquid.What is the working principle of O-ring?The sealing principle of the O-ring is achieved by its elastic deformation within a prope